Move dracut module from 98 ordering to the recommended 50 ordering
authorJo Zzsi <jozzsicsataban@gmail.com>
Sun, 31 Aug 2025 04:56:10 +0000 (00:56 -0400)
committerJo Zzsi <jozzsicsataban@gmail.com>
Sun, 31 Aug 2025 04:56:52 +0000 (00:56 -0400)
In dracut release v108 or later the recommended ordering for out
out of tree modules is 50. The following is a section from dracut
documentation:

> Not using the 50-59 range for out of tree dracut modules will likely
> lead to unintended errors in the initramfs generation process as your
> dracut module will either run too early or too late in the generation process.
> You have been warned.

Fixes: https://github.com/ostreedev/ostree/issues/3495
Makefile-boot.am

index e26c18161bc0483bba0ad78c50574afc178f7959..e02961e580a28e544671f6a0c23308489110a084 100644 (file)
@@ -19,7 +19,7 @@
 
 if BUILDOPT_DRACUT
 # Not using $(libdir) here is intentional, dracut modules go in prefix/lib
-dracutmoddir = $(prefix)/lib/dracut/modules.d/98ostree
+dracutmoddir = $(prefix)/lib/dracut/modules.d/50ostree
 dracutmod_SCRIPTS = src/boot/dracut/module-setup.sh
 endif
 if BUILDOPT_DRACUT_CONF